package com.hq.door.dto;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import com.hq.door.pojo.TClass;
import com.hq.door.pojo.TOutRequest;

public class Teacher {
	private Integer id;
    private String name;
    private String account;
    private String mobile;
    private String code;
    private String password;
    private String weixinId;
    private Timestamp modifiedTime;
    private Integer modifiedBy;
    private Set<TClass> TClasses = new HashSet<TClass>(0);
    private Set<TOutRequest> TOutRequests = new HashSet<TOutRequest>(0);
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getWeixinId() {
		return weixinId;
	}
	public void setWeixinId(String weixinId) {
		this.weixinId = weixinId;
	}
	public Timestamp getModifiedTime() {
		return modifiedTime;
	}
	public void setModifiedTime(Timestamp modifiedTime) {
		this.modifiedTime = modifiedTime;
	}
	public Integer getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(Integer modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
	public Set<TClass> getTClasses() {
		return TClasses;
	}
	public void setTClasses(Set<TClass> tClasses) {
		TClasses = tClasses;
	}
	public Set<TOutRequest> getTOutRequests() {
		return TOutRequests;
	}
	public void setTOutRequests(Set<TOutRequest> tOutRequests) {
		TOutRequests = tOutRequests;
	}
	
	
	
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	@Override
	public String toString() {
		return "Teacher [id=" + id + ", name=" + name + ", account=" + account
				+ ", mobile=" + mobile + ", code=" + code + ", password="
				+ password + ", weixinId=" + weixinId + ", modifiedTime="
				+ modifiedTime + ", modifiedBy=" + modifiedBy + ", TClasses="
				+ TClasses + ", TOutRequests=" + TOutRequests + "]";
	}
	
    
    
}
